import request from "@/utils/request"; //导入封装请求的js文件

export function getUserData(params) {
  return request({
    url: "/umsMember/info",
    method: "get",
    params: params,
  });
}
//修改用户密码
export function updatePassword(params) {
  return request({
    url: "/umsMember/updatePassword",
    method: "post",
    params: params,
  });
}
//修改用户信息
export function updateInfo(params) {
  return request({
    url: "/umsMember/updateInfo",
    method: "put",
    data: params,
  });
}